package tianrun.ziguan.api.calculate.config.dto.request.common.list;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class PageBody extends ListBody {

    @NotNull
    @Min(1L)
    private Long currentPage = 1L;
    @NotNull
    @Min(1L)
    private Long size = 10L;

    public Long getCurrentPage() {
        return this.currentPage;
    }

    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }

    public Long getSize() {
        return this.size;
    }

    public void setSize(Long size) {
        this.size = size;
    }
}
